<%@ page contentType="text/html; charset=utf-8" language="java" errorPage="" %>
<%@ include file="/sys/include/header.jsp" %>
<%@ page import="java.sql.*,java.util.*"%>
<html>
<head>

<title>baseframe</title>
<style type="text/css">
<!--
body {
	margin-top: 0px;
	FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=1,EndColorStr='royalblue',StartColorStr='#FFFFFF'); 
	
}
.style2 {
	/*color:#FFFFFF;*/
	font-family:"宋体"; 
	font-size: 12px;
}
--> 
</style>
</head>
 
<body  > 
<table height="20" width="100%" align="right" >
	<tr>
		<%
			//com.es.main.loginUserBeen user = (com.es.main.loginUserBeen)session.getAttribute("loginuser");
			if(userLogin!=null){
			 	Cookie   mycookie   =   new   Cookie("spearheadloginname",userLogin.getLoginName());   
        		mycookie.setMaxAge(365*24*60*60);
        		response.addCookie(mycookie);
        	}   
		%>
		<td valign="top"  align="left" height="20"><span class="style2">欢迎 当前用户：<%=userLogin==null?"":userLogin.getLoginUserName()%>&nbsp;</td>
	  <td valign="top"  align="right" id="webjx" class="style2"><script>
			setInterval("webjx.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
		</script>	
	</td>
	</tr> 
</table>
</body>
</html>
